package com.wt.admin.mapper.image;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wt.admin.domain.dto.image.ImageItemDTO;
import com.wt.admin.domain.dto.image.ImageVideoDTO;
import com.wt.admin.domain.entity.image.ImageItemEntity;
import com.wt.admin.domain.entity.image.ImageVideoEntity;
import com.wt.admin.domain.vo.image.ImageItemVO;
import com.wt.admin.domain.vo.image.ImageVideoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ImageVideoMapper extends BaseMapper<ImageVideoEntity> {

    IPage<ImageVideoVO> videoList(Page<ImageVideoDTO> page, ImageVideoDTO data);

}
